package po;

import java.io.Serializable;

@SuppressWarnings("serial")
public class SubModelPO implements Serializable {

	/**
	 * @param args
	 */
	String subModelID;
	String category;
	String name;
	int headSemester;
	int tailSemester;
	int headCredit;
	int tailCredit;
//	List<String> courseIDList;
	
	public SubModelPO(String subID,String category,String name,int hS,int tS,int headCredit,int tailCredit){
		subModelID = subID;
		this.category = category;
		this.name = name;
		headSemester = hS;
		tailSemester = tS;
		this.headCredit = headCredit;
		this.tailCredit = tailCredit;
//		courseIDList = idList;
	}
	public String getSubModelID(){
		return subModelID;
	}
	public String getCategory(){
		return category;
	}
	public String getName(){
		return name;
	}
	public int getHeadSemester(){
		return headSemester;
	}
	public int getTailSemester(){
		return tailSemester;
	}
	public int getSubModelHeadCredit(){
		return headCredit;
	}
	public int getSubModelTailCredit(){
		return tailCredit;
	}
//	public List<String> getCourseIDList(){
//		return courseIDList;
//	}
	@Override
	public String toString() {
		return "SubModelPO:\r\nsubModelID=" + subModelID + "\r\ncategory="
				+ category + "\r\nname=" + name + "\r\nheadSemester="
				+ headSemester + "\r\ntailSemester=" + tailSemester
				+ "\r\nheadCredit=" + headCredit + "\r\ntailCredit=" + tailCredit;
	}
}
